package service;

import common.ServerResponse;

public interface IShoppingcartService {
	
	public ServerResponse list(Object obj_session_user_id);
	public ServerResponse add(String product_id,String count,Object obj_session_user_id);
	public ServerResponse update(String product_id,String count,Object obj_session_user_id);
	
	//移除购物车某个产品
	public ServerResponse delete_product(String product_id, Object obj_session_user_id);
	//购物车取消选中某个商品
	public ServerResponse un_select(String product_id, Object obj_session_user_id);
	//购物车选中某个商品
	public ServerResponse select(String product_id, Object obj_session_user_id);
	
	//查询购物车中的商品数量
	public ServerResponse get_cart_product_count(String userid);
	//购物车全选
	public ServerResponse select_all(String userid);
	//购物车取消全选
	public ServerResponse un_select_all(String userid);

}
